
package com.sie.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.*;


import java.io.Serializable;
import java.util.List;
import java.util.Set;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 员工视图实体类
 */
@Data
@TableName("view_emp")
@ApiModel("条件查询")
@AllArgsConstructor
@NoArgsConstructor
public class ViewEmp implements Serializable {
    /**
     * id
     */
    @ExcelIgnore
    private String empId;

    /**
     * 姓名
     */
    @Excel(name = "姓名", orderNum = "0", width = 15)
    @ApiModelProperty("姓名")
    private String empName;
    /**
     * 性别，0为男，1为女
     */
    @Excel(name = "性别", replace = {"男_0", "女_1"}, orderNum = "4", width = 10)
    @ApiModelProperty("性别")
    private String empGender;
    /**
     * 年龄
     */
    @Excel(name = "年龄", orderNum = "5", width = 10)
    @ApiModelProperty("年龄")
    private String empAge;
    /**
     * 生日
     */
    @Excel(name = "生日", orderNum = "6", width = 20)
    @ApiModelProperty("生日")
    private String empBir;
    /**
     * 状态，1为有效，0为无效
     */
    @Excel(name = "状态", replace = {"无效_0", "有效_1"}, orderNum = "3")
    @ApiModelProperty("状态")
    private String empStatus;
    /**
     * 手机号
     */
    @Excel(name = "电话", orderNum = "7", width = 20)
    @ApiModelProperty("电话")
    private String empPhone;
    /**
     * 邮箱
     */
    @Excel(name = "邮箱", orderNum = "8", width = 20)
    @ApiModelProperty("邮箱")
    private String empEmail;
    /**
     * 备注
     */
    @Excel(name = "备注", orderNum = "11", width = 50)
    @ApiModelProperty("备注")
    private String empPs;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", orderNum = "9", width = 20)
    @ApiModelProperty("创建时间")
    private String empCreateTime;
    /**
     * 最后修改时间
     */
    @Excel(name = "最后修改时间", orderNum = "10", width = 20)
    @ApiModelProperty("最后修改时间")
    private String empLastTime;
    /**
     * 登录账号
     */
    @Excel(name = "用户登录名", orderNum = "1", width = 15)
    @ApiModelProperty("登录用户名")
    private String loginName;

    @ExcelIgnore
    private List<Role> roles;

    @ExcelIgnore
    private Set<Authority> authorities;
}